package com.panshi.tools;

import java.io.Serializable;

/**
 * 咨询增加
 */
public class Consulting implements Serializable {

    private Integer classifyId;  // 分类id

    private Integer essayId;  // 新增咨询返回的主键id

    private Integer userId;   // 用户id

    private String  essayTitle;   // 资讯标题

    private String essaySynopsis;  // 咨迅大纲

    private String essayContent; // 咨询内容

    private String imgPath;  // 图片路径


    public Integer getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Integer classifyId) {
        this.classifyId = classifyId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getEssayTitle() {
        return essayTitle;
    }

    public void setEssayTitle(String essayTitle) {
        this.essayTitle = essayTitle;
    }

    public String getEssaySynopsis() {
        return essaySynopsis;
    }

    public void setEssaySynopsis(String essaySynopsis) {
        this.essaySynopsis = essaySynopsis;
    }

    public String getEssayContent() {
        return essayContent;
    }

    public void setEssayContent(String essayContent) {
        this.essayContent = essayContent;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public Integer getEssayId() {
        return essayId;
    }

    public void setEssayId(Integer essayId) {
        this.essayId = essayId;
    }

    @Override
    public String toString() {
        return "Consulting{" +
                "classifyId=" + classifyId +
                ", essayId=" + essayId +
                ", userId=" + userId +
                ", essayTitle='" + essayTitle + '\'' +
                ", essaySynopsis='" + essaySynopsis + '\'' +
                ", essayContent='" + essayContent + '\'' +
                ", imgPath='" + imgPath + '\'' +
                '}';
    }
}
